{template 'common/header'}
<div class='panel panel-default'>
	<div class="panel-heading">
		<h3 class='panel-title'>
        日志列表
        </h3>
	</div>
    <div class="panel-body">
    	<table class="table table-bordered">
        <caption> 
        	<a href='{php echo $this->createWebUrl('listedit')}' class="btn btn-primary btn-sm " >添加</a>
        </caption>
          <thead>
            <tr>
              <th>标题</th>
              <th>图片</th>
              <th>操作</th>
            </tr>
          </thead>
          <tbody>
          {loop $work_Log $index $item}
            <tr>
              <td>{$item['title']}</td>
              <td>{$item['image']}</td>
              <td>  
              <a href='{php echo $this->createWebUrl('listedit')}&id={$item['id']}' class="btn btn-success btn-sm" >编辑</a>
              <a href='{php echo $this->createWebUrl('listdel')}&id={$item['id']}' class="btn btn-danger btn-sm" >删除</a>
              </td>
            </tr>
           {/loop}
          </tbody>
        </table>
        {$pager}
    </div>
</div>

{template 'common/footer'}
